﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CardBalance.aspx.cs" Inherits="Customer_Profile.eCard.CardAccount.CardBalance" %>
<%@ Register Src="~/mainTop.ascx" TagName="mainTop" TagPrefix="uc1" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v9.3, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Customer List</title>
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR" />
    <meta content="C#" name="CODE_LANGUAGE" />
    <meta content="JavaScript" name="vs_defaultClientScript" />
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/css/style.css" type="text/css" rel="stylesheet" />
    <script language="javascript" type="text/javascript" src="/js/common.js"></script>
    <script language="javascript" type="text/javascript" src="/js/CalPopUp.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
            <tr>
                <td width="1" background="/images/dot_vline.gif">
                    <img height="1" src="/images/spacer.gif" width="1"></td>
                <td valign="top" width="15">
                    <img height="1" src="/images/spacer.gif" width="15"></td>
                <td id="TD1" valign="top" runat="server">
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tr>
                            <td>
                                <img height="5" src="/images/spacer.gif" width="1"></td>
                        </tr>
                        <tr>
                            <td height="23">
                                <span class="navi-blk">
                                    <uc1:mainTop ID="MainTop1" runat="server"></uc1:mainTop>
                                    卡帐查询 </span>
                            </td>
                        </tr>
                        <tr>
                            <td background="/images/dot_hline.gif">
                                <img height="1" src="/images/spacer.gif" width="1"></td>
                        </tr>
                    </table>
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tr>
                            <td>
                                <img height="8" src="/images/spacer.gif" width="1"></td>
                        </tr>
                    </table>
                   <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tr>
                            <td>
                                <table bordercolor="#c2d2e2" cellspacing="0" cellpadding="2" width="100%" border="1">
                                    <tr>
                                        <td colspan=2>
                                            <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                                <tr>
                                                    <td bgcolor="#1765a7">
                                                        <img height="11" src="/images/pic_results.gif" width="61"></td>
                                                </tr>
                                            </table>                                                                                           
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">卡号：</td>
                                        <td align="left"><asp:TextBox ID="txtCardNo" runat="server"></asp:TextBox>
                                        <asp:Label ID="lblCpartyName" runat="server" ForeColor="Red"></asp:Label>
                                        <asp:Label ID="lblIdno" runat="server" ForeColor="Red"></asp:Label>
                                        <asp:Label ID="lblPhone" runat="server" ForeColor="Red"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">余额：</td>
                                        <td align="left"><asp:TextBox ID="txtCardBalance" readonly runat="server"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td align="right">指定人：</td>
                                        <td align="left">                                           
                                            <asp:Label ID="lblDesignee" runat="server" ></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">提示：</td>
                                        <td align="left"><asp:Label ID="lblWaring" runat="server" ForeColor="Red"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="center"><asp:Button ID="btnSearch" runat="server" Text="确定" onclick="btnSearch_Click" /></td>            
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                     <table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
				<tr>
					<td class="bglist1">
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td class="bglist1" width="12"><IMG height="7" src="/images/arw_blu_rgt.gif" width="4"></td>
								<td class="bglist1">卡账信息 
                                    <font color="blue">
                                    (余额：<%=card_balance%>)
                                    </font>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
                       <dx:ASPxGridView ID="gridCflows1" runat="server" Width="100%"
                               CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" 
                               CssPostfix="Office2003Blue">
                               <Images SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                                   <LoadingPanelOnStatusBar Url="~/App_Themes/Office2003Blue/GridView/gvLoadingOnStatusBar.gif">
                                   </LoadingPanelOnStatusBar>
                                   <LoadingPanel Url="~/App_Themes/Office2003Blue/GridView/Loading.gif">
                                   </LoadingPanel>
                               </Images>
                               <ImagesFilterControl>
                                   <LoadingPanel Url="~/App_Themes/Office2003Blue/Editors/Loading.gif">
                                   </LoadingPanel>
                               </ImagesFilterControl>
                               <Styles CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" 
                                   CssPostfix="Office2003Blue">
                                   <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                   </Header>
                                   <LoadingPanel ImageSpacing="10px">
                                   </LoadingPanel>
                               </Styles>
                               <StylesEditors>
                                   <ProgressBar Height="25px">
                                   </ProgressBar>
                               </StylesEditors>
                               <Columns>
                                    <dx:GridViewDataColumn FieldName="cflow_no" VisibleIndex="0" Caption="资金编号" Width="5%" />                        
                                    <dx:GridViewDataColumn FieldName="cflow_date" VisibleIndex="1" Caption="日期" />                        
                                    <dx:GridViewDataColumn FieldName="amount" VisibleIndex="2" Caption="金额" />                        
                                    <dx:GridViewDataColumn FieldName="card_balance" VisibleIndex="3" Caption="卡内余额" />
                                    <dx:GridViewDataColumn FieldName="cflow_type_name" VisibleIndex="4" Caption="类别" />
                                    <dx:GridViewDataColumn FieldName="remark" VisibleIndex="5" Caption="备注" Width="20%" />
                                    <dx:GridViewDataColumn Caption="附件" VisibleIndex="6">
                                        <DataItemTemplate>
                                            <a href='<%#Eval("cflow_attach_url") %>' target="_blank" ><%#Eval("attach_view") %></a>
                                        </DataItemTemplate>
                                    </dx:GridViewDataColumn>
                                </Columns>
                                <Settings ShowFooter="True" />
                                <TotalSummary>
                                     <dx:ASPxSummaryItem FieldName="amount" SummaryType="Sum" DisplayFormat="c"/>                                     
                                </TotalSummary>
                           </dx:ASPxGridView>
					</td>
				</tr>
			</table>
                </td>
                <td valign="top" width="10"><img height="1" src="/images/spacer.gif" width="10"></td>
    </tr> </table> 
    </form>
</body>
</html>